<?php
class incasariActions extends myActions
{
  public function executeIndex(sfWebRequest $request)
  {
    $this->getUser()->setGlobal('page_title', 'Apartamentele din cadrul asociaţiei');

    $this->form = new sfForm();
    $this->form->setWidgets(array(
      'name'    => new sfWidgetFormInput(),
      'email'   => new sfWidgetFormInput(
        array(
          'default' => 'email@email.email'
        ),
        array(
          'id'  => 'eeeee',
        )),
      'subject' => new sfWidgetFormChoice(array(
          'choices' => array(11=>'unu', 22=>'doi', 33=>'trei'),
          'default' => 33,
        )),
      'message' => new sfWidgetFormTextarea(),
    ));
  }

}
